KnitPay\Gateways\IntegrationOAuthClient B

Total Complexity 86
Dependencies 7
Dependents 0
Total lines 598
Lines of code 381
Logical lines of code 198
Comment lines 103
Methods 32
Properties 3

Methods 32

Method Rating Maintainability Complexity Lines of code
update_connection_status()
A
43 14 44
refresh_access_token()
A
46 7 41
init_oauth_connect()
S
47 6 39
schedule_next_refresh_access_token()
S
53 6 22
save_token()
S
54 6 20
save_post()
S
57 6 17
get_settings_fields()
S
55 5 20
connection_status_box()
S
54 4 19
refresh_failed_action()
S
66 3 8
setup()
S
59 2 14
get_oauth_connect_button_fields()
S
52 1 27
get_gateway()
S
62 2 12
get_oauth_connection_status_fields()
S
56 1 18
get_signup_button_field()
S
58 1 16
is_auth_basic_enabled()
S
75 2 4
inc_refresh_token_fail_counter()
S
66 2 8
__construct()
S
71 2 5
get_config()
S
67 2 8
get_child_config()
S
100 1 0
configure_webhook()
S
82 1 3
create_basic_connection()
S
83 1 3
clear_config()
S
71 1 5
get_basic_auth_fields()
S
82 1 3
is_oauth_connected()
S
80 1 3
is_auth_basic_connected()
S
82 1 3
is_mode_changed()
S
82 1 3
payment_provider_url()
S
82 1 3
allowed_redirect_hosts()
S
82 1 3
clear_child_config()
S
100 1 0
show_common_setting_fields()
S
82 1 3
get_oauth_token_request_body()
S
82 1 3
redirect_to_config()
S
76 1 4